<%@ page language="java" import="java.util.*,cn.sypt.yuhao.domain.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
User ub=(User)session.getAttribute("user");

%>
    <!-- topbar starts -->
    <div class="navbar navbar-default" role="navigation">

        <div class="navbar-inner">
            <button type="button" class="navbar-toggle pull-left animated flip">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            
                <span class="navbar-brand">尊敬的用户:<%=ub.getUname() %></span>

            <!-- user dropdown starts -->
            <div class="btn-group pull-right">
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-user"></i><span class="hidden-sm hidden-xs"> 管理</span>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href="/sypt/index.jsp">首页</a></li>
                    
                    <li class="divider"></li>
                    <li><a href="<c:url value='/UserServlet?method=logout'/>">注销</a></li>
                </ul>
            </div>
            <!-- user dropdown ends -->

            <!-- theme selector starts -->
            
            <!-- theme selector ends -->

            <ul class="collapse navbar-collapse nav navbar-nav top-menu">
           
                
                
                &nbsp;&nbsp;<img src="img/touxiang/<%=ub.getUimage() %>" width="70" height="70" />
              
            </ul>

        </div>
    </div>
    <!-- topbar ends -->
 
